package com.atguigu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee {
    private int id;
    private String password;
    private String name;
    private  String email;
    private  int gender;
    private  String department;
    private LocalDate birth;

    public Employee(String password, String name, String email, int gender, String department, LocalDate birth) {
        this.password = password;
        this.name = name;
        this.email = email;
        this.gender = gender;
        this.department = department;
        this.birth = birth;
    }

    public Employee(int id, String name, String email, int gender, String department, LocalDate birth) {
        this.id = id;
        this.name = name;
        this.email = email;
        this.gender = gender;
        this.department = department;
        this.birth = birth;
    }
}
